package model
{
	public class UserVo
	{
		
		public var uid:int;
		public var username:String;
		public var cash:int;
		
		public function setUserInfo(obj:Object):void
		{
			for(var key:String in obj){
				if (hasOwnProperty(key)){
					this[key] = obj[key];
				}
			}
		}
		
		/**
		 * 重置 
		 * 
		 */		
		public function reset():void
		{
			uid = 0;
			username = "";
			cash = 0;
		}
	}
}